define(function (require, exports, module) {
	var EditGrid = require("editgrid");
	var store =require("store");
	var activeUser = store.get("user");
	var Dialog = require("dialog");
	
    var instance = {
        initComponent: function (params, widget) {
            var editgrid = new EditGrid({
        	    parentNode: ".J-editgrid",
				model:{
					id:"reserveRoomDetailGrid",
					columns:[{
						name:"roomType.name",
						label:"房型",
					},{
                        name : "count",
                        label : "数量",
                    },{
                        name : "payables",
                        label : "预定价",
                    }]
				}
			})
        	widget.set("reserveRoomDetailGrid", editgrid);
        }
    };
    module.exports = instance;
});
